Prevent opening the xenbus device if the store isn't connected yet.
authorcl349@firebug.cl.cam.ac.uk <cl349@firebug.cl.cam.ac.uk>
Tue, 13 Sep 2005 10:05:49 +0000 (10:05 +0000)
committercl349@firebug.cl.cam.ac.uk <cl349@firebug.cl.cam.ac.uk>
Tue, 13 Sep 2005 10:05:49 +0000 (10:05 +0000)
commit398a3f5679a670c0901961137d32d447b2bc90b8
tree5e0e450b523f44a753931f04877fc903cf8a87df
parenta7184036fffc69b9391811319c8a5a1244ae188e
Prevent opening the xenbus device if the store isn't connected yet.
Running xenstore clients using the xenbus device before the store
connection has been set up causes a crash because the store page
won't have been allocated yet.  This is only a problem in dom0 where
we setup the store page from the PRIVCMD_INITDOMAIN_STORE ioctl.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_dev.c